/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service.impl;

import java.util.List;

import com.sasis.service.impl.BaseManager;
import com.sasis.model.VipServiceReceivecar;
import com.sasis.dao.VipServiceReceivecarDao;
import com.sasis.service.VipServiceReceivecarManager;

import com.sasis.util.PageList;
import com.sasis.util.PageRequest;

public class VipServiceReceivecarManagerImpl extends BaseManager implements VipServiceReceivecarManager {
    private VipServiceReceivecarDao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setVipServiceReceivecarDao(VipServiceReceivecarDao dao) {
        this.dao = dao;
    }

    /**
     * @see com.sasis.service.VipServiceReceivecarManager#getVipServiceReceivecars(com.sasis.model.VipServiceReceivecar)
     */
    public List getVipServiceReceivecars(final VipServiceReceivecar vipServiceReceivecar) {
        return dao.getVipServiceReceivecars(vipServiceReceivecar);
    }

    /**
     * @see com.sasis.service.VipServiceReceivecarManager#getVipServiceReceivecar(String id)
     */
    public VipServiceReceivecar getVipServiceReceivecar(final String id) {
        return dao.getVipServiceReceivecar(new Integer(id));
    }

    /**
     * @see com.sasis.service.VipServiceReceivecarManager#saveVipServiceReceivecar(VipServiceReceivecar vipServiceReceivecar)
     */
    public int saveVipServiceReceivecar(VipServiceReceivecar vipServiceReceivecar) {
    	return dao.saveVipServiceReceivecar(vipServiceReceivecar);
    }

    /**
     * @see com.sasis.service.VipServiceReceivecarManager#removeVipServiceReceivecar(String id)
     */
    public void removeVipServiceReceivecar(VipServiceReceivecar vipServiceReceivecar) {
        dao.removeVipServiceReceivecar( vipServiceReceivecar);
    }
    public PageList queryForPageList(String listStatementId,  
    		Object parameterObject, PageRequest pageRequest){
	return dao.queryForPageList(listStatementId,   parameterObject, pageRequest);
    }
}
